package com.rimi.lyingGoShoppingMall.service;

import com.rimi.lyingGoShoppingMall.bean.User;

import java.util.List;

/**
 * @author 61919
 * @date 2020/3/2
 */
public interface UserService {

    /**
     * 查询所有的用户
     * @return
     */
    List<User> findAllUser();

    /**
     * 登录账户
     * @param user
     * @return
     */
    boolean login(User user);
}
